package com.haixiaoke.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.common.annotation.Excel;
import com.haixiaoke.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 智能锁授权人脸信息对象 biz_smart_lock_face
 *
 * @author xiaolong
 * @date 2023-06-10
 */
@Data
public class SmartLockFace extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 人脸授权id */
    private Long faceId;

    /** 厂商人脸授权id */
    @Excel(name = "厂商人脸授权id")
    private Long returnFaceId;

    /**
     * 用户标识
     */
    private String identification;

    /** 智能锁SN */
    @Excel(name = "智能锁SN")
    private String sn;

    /** 授权开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 授权结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 人脸照url地址 */
    @Excel(name = "人脸照url地址")
    private String faceImage;

    /**
     * 密码类型：1永久密码 2临时密码
     */
    private Integer passwordType;

    /**
     * 慧享佳授权ID
     */
    @Excel(name = "慧享佳授权ID")
    private String keyId;

    /**
     * 智能锁对应标识
     */
    private String lockIdentifier;

}
